package org.jeecg.modules.achexampaperprojectitem.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ach_exam_paper_project_item
 * @author: baochangrong
 * @Date:   2022-03-16
 * @Version: V1.0
 */
@Data
@TableName("ach_exam_paper_project_item")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ach_exam_paper_project_item对象", description="ach_exam_paper_project_item")
public class AchExamPaperProjectItemVo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**科目id*/
	@Excel(name = "科目id", width = 15)
    @ApiModelProperty(value = "科目id")
    private String subjectId;
	/**试卷id*/
	@Excel(name = "试卷id", width = 15)
    @ApiModelProperty(value = "试卷id")
    private String examinationPaperId;
	/**考试项目编码(必填，非空)*/
	@Excel(name = "考试项目编码(必填，非空)", width = 15)
    @ApiModelProperty(value = "考试项目编码(必填，非空)")
    private String exaPapProItemCode;
	/**考试项目名称*/
	@Excel(name = "考试项目名称", width = 15)
    @ApiModelProperty(value = "考试项目名称")
    private String exaPapProItemName;
	/**项目满分*/
	@Excel(name = "项目满分", width = 15)
    @ApiModelProperty(value = "项目满分")
    private Double exaPapProItemFullMarks;
    /**项目类型（1总分项、2分项、3分项子项）*/
    @Excel(name = "项目类型（1总分项、2分项、3分项子项）", width = 15)
    @ApiModelProperty(value = "项目类型（1总分项、2分项、3分项子项）")
    @Dict(dicCode = "exa_pap_pro_item_ttype")
    private String exaPapProItemTtype;

    /**项目子类型（分项：21客观 22主观 23实验实操 24运动））*/
    @Excel(name = "项目类型（21客观 22主观 23实验实操 24运动）", width = 15)
    @ApiModelProperty(value = "项目类型（21客观 22主观 23实验实操 24运动）")
    @Dict(dicCode = "exa_pap_pro_item_sub_ttype")
    private String exaPapProItemSubTtype;

	/**项目级别（1一级默认，2二级，3三级）*/
	@Excel(name = "项目级别（1一级默认，2二级，3三级）", width = 15)
    @ApiModelProperty(value = "项目级别（1一级默认，2二级，3三级）")
    @Dict(dicCode = "exa_pap_pro_item_level")
    private Integer exaPapProItemLevel;
    /**项目权重系数*/
    @Excel(name = "项目权重系数", width = 15)
    @ApiModelProperty(value = "项目权重系数")
    private Double eppItemWeightCoefficient;
	/**上级项目id（默认0）*/
	@Excel(name = "上级项目id（默认0）", width = 15)
    @ApiModelProperty(value = "上级项目id（默认0）")
    private String exaPapProItemFatherId;
	/**项目序号*/
	@Excel(name = "项目序号", width = 15)
    @ApiModelProperty(value = "项目序号")
    private Integer exaPapProItemOrder;
	/**是否启用*/
	@Excel(name = "是否启用", width = 15)
    @ApiModelProperty(value = "是否启用")
    @Dict(dicCode = "iz_open")
    private Integer izOpen=1;
	/**所属部门编码*/
    @ApiModelProperty(value = "所属部门编码")
    private String sysOrgCode;
	/**学校id*/
	@Excel(name = "学校id", width = 15)
    @ApiModelProperty(value = "学校id")
    private String tenantId;
	/**0表示未删除,1表示删除*/
	@Excel(name = "0表示未删除,1表示删除", width = 15)
    @ApiModelProperty(value = "0表示未删除,1表示删除")
    @Dict(dicCode = "del_flag")
    private Integer delFlag=0;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


    private String subjectName; //科目名称
    private String examinationPaperName; //试卷名称
    private String sysOrgName; //所属部门

    private String achievementStandardName; //标准名称
    @Dict(dicCode = "achievement_standard_ttype")
    private Integer  achievementStandardTtype;//标准类型（1国标 2省标 3市区标 4县乡标 5本校标 6自定义标）
    //标准用途：11试卷模板 12实际应用于试卷 21个人模板 22应用于个人 31班级模板 32应用于班级 41年级模板 42应用于年级 51学校级模板 52应用于学校 92考试总分标准 93考试总分计分规则
    @Dict(dicCode = "achievement_standard_purpose")
    private String achievementStandardPurpose;
    @Dict(dicCode = "achi_stand_purpose_type")
    private String achiStandPurposeType;//标准用途类型 1优良及格标准 2分档标准 3分数线标准 4分段标准 5临界标准 9计分规则


    private String proStandardSubName; //分项评分标准分段拼接名称
    private String proStandItemName; // 分项评分标准分段名称
    private String proId; // 分段评分标准明细ID
    private String proAchievementStandardId;
    private String proSubjectId;
    private String proExaPapProItemCode;
    private String proStandItemCode;
    private String proStandItemAliasname;
    private Double proStandItemLowestScore;
    private Double proStandItemHighestScore;
    private Double proStandItemLowestRate;
    private Double proStandItemHighestRate;
    private Double proStandItemActualScore;
    private Integer proStandItSpecialRestrictions;
    private Double proSitemSpecRestMinvalue;
    private Double proSitemSpecRestMaxvalue;
    private Double proStandItemWeightCoefficient;
    private Integer proStandItemOrder;
    private String proStandItemFatherId;
    private Integer proIzOpen=1;
    private String proSysOrgCode;
    private String proTenantId;
    private Integer proDelFlag=0;
    private String proCreateBy;
    private Date proCreateTime;
    private String proUpdateBy;
    private Date proUpdateTime;
    private String proSubjectName;
    private String proAchievementStandardName;
    private String proSysOrgName;

}
